package net.lab1024.sa.admin.module.business.yct.yctTeeth.domain.form;

import io.swagger.v3.oas.annotations.media.Schema;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * 用户 新建表单
 *
 * @Author zhangben
 * @Date 2024-12-18 09:52:35
 * @Copyright 20241218
 */

@Data
public class UsermembersAddForm {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "主键 不能为空")
    private Integer membersId;

    @Schema(description = "用户名", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "用户名 不能为空")
    private String name;

    @Schema(description = "性别", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "性别 不能为空")
    private String gender;

    @Schema(description = "出生年月", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "出生年月 不能为空")
    private String birthday;

    @Schema(description = "账号 ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "账号 ID 不能为空")
    private Integer userId;

    @Schema(description = "是否主成员排序", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "是否主成员排序 不能为空")
    private String isMain;

    @Schema(description = "是否在使用", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotBlank(message = "是否在使用 不能为空")
    private String isUse;

}